From cc44614fbba7696c6c2009f728cd8f56c44cf299 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Sun, 13 Aug 2006 17:17:28 +0000 Subject: [PATCH] Check (tri-)state usage of zlib and use the right header file. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@2292 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/defs.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gpsbabel/defs.h b/gpsbabel/defs.h index 736e21d14..7b0d04c1b 100644 --- a/gpsbabel/defs.h +++ b/gpsbabel/defs.h @@ -28,7 +28,11 @@ #include "config.h" #include "queue.h" #include "gbtypes.h" +#if HAVE_LIBZ +#include +#elif !ZLIB_INHIBITED #include "zlib/zlib.h" +#endif #include "gbfile.h" #include "cet.h" #include "cet_util.h" -- 2.30.2